home *** CD-ROM | disk | FTP | other *** search
/ The Business Master (3rd Edition) / The Business Master (3rd Edition).iso / files / utilenus / tbox / tbox13.exe / TBOXCFG.DOC < prev    next >
Encoding:
Text File  |  1992-07-18  |  98.4 KB  |  2,286 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.                               WINDOW ON DOS
  10.  
  11.  
  12.  
  13.                               CONFIGURATION
  14.  
  15.  
  16.  
  17.                                USER MANUAL
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.                             *
  26.                           *   *
  27.                         *       *
  28.                       *           *               The
  29.                     *               *
  30.                   *                   *           Binary
  31.                  *                     *
  32.                  *                     *          Toolshed
  33.                  *                     *
  34.                  *                     *
  35.                  *  ******             *
  36.                  *        *            *
  37.                  *        *            *          Version 1.21
  38.                  *        *            *          July 2, 1992
  39.                  *        *            *
  40.                  *        *            *
  41.                   ********             *
  42.  
  43.  
  44.  
  45.  
  46.                              TABLE OF CONTENTS
  47.  
  48.     1.0 INTRODUCTION.....................................................1
  49.  
  50.     2.0 Program Environment..............................................3
  51.     2.1 System Requirements..............................................3
  52.     2.2 Installation.....................................................3
  53.     2.3 Startup..........................................................3
  54.  
  55.     3.0 OPERATIONAL OVERVIEW.............................................6
  56.  
  57.     4.0 Configuration Files and the Main Menu............................8
  58.  
  59.     5.0 Configure Option : Command Line Arguments.......................10
  60.  
  61.     6.0 Configure Option : Select Color.................................11
  62.     6.1 Main Color Menu.................................................11
  63.     6.2 Change Color Settings...........................................12
  64.  
  65.     7.0 Configure Option : Sort Order Formats...........................14
  66.  
  67.     8.0 Configure Option : Display Formats..............................16
  68.  
  69.     9.0 Configure Option : Key-Bindings.................................18
  70.     9.1 Key Binding Edit/Insertion/Deletion.............................18
  71.     9.2 Key Binding Fields..............................................19
  72.     9.2.1 Key Binding Edit Menu.........................................19
  73.     9.2.2 Key-Binding Field - Label.....................................19
  74.     9.2.3 Key-Binding Field - Match List String.........................19
  75.     9.2.4 Key-Binding Field - Keystroke.................................20
  76.     9.2.5 Key-Binding Field - Command Set...............................21
  77.     9.2.6 Key-Binding Field - Help Text.................................21
  78.     9.2.7 Key-Binding Field - Flags.....................................21
  79.     9.3 Command Line Contents : DOS and Intrinsic Commands..............27
  80.     9.3.1 Basics........................................................27
  81.     9.3.2 File Variables................................................27
  82.     9.3.3 Edit Control Instructions.....................................28
  83.     9.3.4 Command Processing............................................29
  84.     9.3.5 Intrinsic tbx Command.........................................29
  85.     9.3.6 Intrinsic t*x Command.........................................30
  86.  
  87.     10.0 Configure Option : Command Overrides...........................32
  88.     10.1 Basics.........................................................32
  89.     10.2 Override Flags.................................................33
  90.     10.3 Factory Default Command Overrides..............................34
  91.  
  92.     11.0 Configure Option : Quick Lines.................................36
  93.  
  94.     12.0 Configure Option : Default-DOS-Command.........................38
  95.  
  96.     13.0 Configure Option : ToolBOX Banner..............................39
  97.  
  98.  
  99.     APPENDIX A : TBOXCFG COMMAND LINE ARGUMENTS.........................40
  100.  
  101.     APPENDIX B : INTRINSIC COMMAND SUMMARY..............................41
  102.  
  103.     APPENDIX C : SORT FORMAT SPECIFICATION..............................44
  104.  
  105.     APPENDIX D : DISPLAY FORMAT SPECIFICATION...........................45
  106.  
  107.     APPENDIX E : COMMAND LINE VARIABLES.................................46
  108.  
  109. TBOXCFG User Manual                                                   Page 1
  110. ____________________________________________________________________________
  111.  
  112.  
  113.  
  114.  
  115. 1.0 INTRODUCTION
  116.  
  117.     Almost every aspect of ToolBOX is capable of being changed to suit your
  118.     personal needs.  ToolBOX is primarily a platform that can be configured
  119.     to suit whatever is required.  If you refer to a ToolBOX help screen
  120.     you'll notice the first section describes Basic Operations - essentially
  121.     the cursor keys and <SPACE> for selection.  These are the only commands
  122.     that are unchangeable.  The balance contains commands that were
  123.     configured using lower level ToolBOX capabilities, in the same way as
  124.     can be accomplished through this TBOXCFG program.  The configuration
  125.     capability extends beyond just the commands.  You can change the colors,
  126.     alter the directory display formats or sort rules, initialize ToolBOX's
  127.     startup settings, enter text for the banner line, and so on.
  128.  
  129.     This manual documents not only the procedures necessary to perform the
  130.     configuration process itself, but also the intrinsic commands that can
  131.     be used within ToolBOX.
  132.  
  133.     The configuration process generates a data file containing the
  134.     configured data - among other things the color selections, formatting
  135.     and sorting rules, and the command sets bound to various keystrokes.
  136.     This data file can then be used by ToolBOX to initialize itself to
  137.     something other than the factory default settings.
  138.  
  139.     Command definition and configuration can occur at a number of different
  140.     levels within ToolBOX.  For example:
  141.  
  142.           QUICK COMMANDS.  These can be defined directly within ToolBOX or
  143.             within the TBOXCFG program.  If defined within ToolBOX, they are
  144.             effectively deleted when exiting to DOS.  Those defined through
  145.             the TBOXCFG program are permanent.  The commands themselves are
  146.             equivalent in either case.
  147.  
  148.           KEYSTROKE ASSIGNMENTS.  Command sets can only be assigned to
  149.             keystroke keys in the TBOXCFG program.
  150.  
  151.           INFERRED BATCH FILES.  This facility is "configured" external to
  152.             both programs, by the creation and editing of the composed-
  153.             /referenced batch files.  However, the facility itself is
  154.             created through the TBOXCFG program.  The inferred batch
  155.             facility is much more general than that implied by the ToolBOX
  156.             program implementation.  The filenames used, the keystrokes, and
  157.             the parameters passed are all established by the TBOXCFG
  158.             program.
  159.  
  160.     Which technique is most applicable is left to the individual user and
  161.     their environment.
  162.  
  163.     This manual describes how the various features are configured.  Refer to
  164.     the ToolBOX User Manual for a description of how these affect the
  165.     operation of the ToolBOX program.  TBOXCFG shares many features and
  166.     conventions with the ToolBOX program.  Refer to the General Product
  167.     Overview and ToolBOX User Manuals for documentation conventions, basic
  168.  
  169. TBOXCFG User Manual                                                   Page 2
  170. ____________________________________________________________________________
  171.  
  172.  
  173.     operation with cursor keys, popup menus, and so on.
  174.  
  175.     While the primary purpose of TBOXCFG is to create configuration files
  176.     for ToolBOX, these files can also be used by VIEW and TREE.  These
  177.     programs simply extract the portions of the configuration file that they
  178.     can use; typically the colors, default command line arguments, and the
  179.     banner line.
  180.  
  181.     Refer to the General Product Overview Manual for examples of practical
  182.     applications of these capabilities.
  183.  
  184.  
  185. TBOXCFG User Manual                                                   Page 3
  186. ____________________________________________________________________________
  187.  
  188.  
  189. 2.0 Program Environment
  190.  
  191. 2.1 System Requirements
  192.  
  193.     The requirements are the same as for ToolBOX.  The program will run with
  194.     any Version of DOS and any type of monitor and card.
  195.  
  196.  
  197.  
  198. 2.2 Installation
  199.  
  200.     Just ensure TBOXCFG is in the current directory or on the PATH.
  201.  
  202.     Unless directed elsewhere, all configuration files are accessed from the
  203.     current directory.
  204.  
  205.  
  206. 2.3 Startup
  207.  
  208.     Like ToolBOX, TBOXCFG's operational aspects can be adjusted at the time
  209.     the program is started by entering arguments in any of three ways:
  210.  
  211.           o on the DOS command line following the program name.
  212.  
  213.           o by a DOS SET command for the "BTS" environment variable.
  214.  
  215.           o saved in the TBOXCFG.EXE executable file by the BTSPATCH
  216.             program.
  217.  
  218.     These are listed in order of decreasing precedence.
  219.  
  220.     All of the arguments are optional, and assume appropriate values if not
  221.     provided.  The video (-V) and color (-C) arguments are identical to
  222.     those used for ToolBOX.
  223.  
  224.  
  225.        SELECT VIDEO OUTPUT FORM:
  226.  
  227.                -V[b m s c e v] [25 43 50]
  228.  
  229.           Set video mode and/or number of screen lines.
  230.  
  231.                b    use BIOS output routines.
  232.  
  233.                m    assume monochrome text (MDA) video card.
  234.  
  235.                c, e, or v
  236.                     assume color graphics (CGA, EGA, or VGA) video card.
  237.                     All 3 settings have the same effect.
  238.  
  239.                s    assume CGA graphics video card and do processing to
  240.                     remove snow on screen.
  241.  
  242.                25   assume 25 visible lines of text.
  243.  
  244.  
  245. TBOXCFG User Manual                                                   Page 4
  246. ____________________________________________________________________________
  247.  
  248.  
  249.                43   assume EGA/VGA card and use the 43 line by 80 column
  250.                     mode.
  251.  
  252.                50   assume VGA card and use the 50 line by 80 column mode.
  253.  
  254.  
  255.        DEFAULT COLOR SELECTION:
  256.  
  257.                -C[m c g]
  258.  
  259.           Selects one of the predefined color tables.
  260.  
  261.                m    monochrome text displays.
  262.  
  263.                c    color displays.
  264.  
  265.                g    gray scale displays, for LCD or monochrome monitors
  266.                     using color video cards.
  267.  
  268.  
  269.        SELECT EXECUTION ASPECTS:
  270.  
  271.                -X [a#] [fF]
  272.  
  273.           The eXecution subarguments are:
  274.  
  275.                a#   select permitted audible tones.  Add the numbers for the
  276.                     particular sounds you wish to hear.
  277.  
  278.                          1 border violations.  Short beeps for attempts to
  279.                            cursor beyond screen borders.
  280.  
  281.                          2 syntax.  Brief chirp made when ToolBOX is unable
  282.                            to understand a keyboard request.  Typically an
  283.                            unexpected character was entered.
  284.  
  285.                          4 error.  Longer warble made when a requested
  286.                            operation could not be carried out.
  287.  
  288.                     The default is a7 - all sounds are enabled (1+2+4).
  289.  
  290.  
  291.                f / F
  292.                     allows Flashing colors in the color selection options
  293.                     when enabled (F).  See Section 6.
  294.  
  295.  
  296.         FILE SPECIFICATION FOR CONFIGURATION FILE :
  297.  
  298.                [d:][path]filename[.cfg]
  299.  
  300.           Identifies the initial configuration file.  If no path is
  301.           specified the current directory is assumed.  If no extension is
  302.           provided, ".CFG" is assumed.  If this argument is omitted the
  303.           initial settings are those of the ToolBOX factory defaults.
  304.  
  305. TBOXCFG User Manual                                                   Page 5
  306. ____________________________________________________________________________
  307.  
  308.  
  309.  
  310.  
  311.     The default argument list for TBOXCFG is:
  312.  
  313.           -xa7f
  314.  
  315.     The video and color options default to suit the current environment, and
  316.     there is no default configuration filename.
  317.  
  318.  
  319.  
  320. TBOXCFG User Manual                                                   Page 6
  321. ____________________________________________________________________________
  322.  
  323.  
  324. 3.0 OPERATIONAL OVERVIEW
  325.  
  326.     TBOXCFG is structured to enable you to modify each of the nine groups of
  327.     configurable data for the ToolBOX program:
  328.  
  329.           o default command line arguments
  330.           o color attributes
  331.           o directory sort order rules
  332.           o directory display format
  333.           o keybindings with command sets
  334.           o command overrides
  335.           o quick lines
  336.           o default execution line
  337.           o screen banner field
  338.  
  339.     On startup, a copyright screen is displayed.  Entering any key will
  340.     cancel this screen before the normal 20 second duration expires.
  341.  
  342.     From here on the configuration program operates through a series of
  343.     cascading menus.  Figure 3/1 illustrates one such set of menus.
  344.  
  345.  
  346.     ┌───────────────────────── ToolBOX Configuration ──────────────────────┐
  347.     │                                                                      │
  348.     │                                                  ╔════════════════╗  │
  349.     │  ┌────────────────────────┐                      ║  Tue Jly 14/92 ║  │
  350.     │  │Load configuration file │                      ║    11:43:38    ║  │
  351.     │  │Configure               │                      ║   ----------   ║  │
  352.     │  │Save┌────────────────────────┐                 ╚════════════════╝  │
  353.     │  │eXit│command line Parameters │                                     │
  354.     │  └────│select Colors           │                                     │
  355.     │       │Sort order formats      │                                     │
  356.     │       │display Formats         │                                     │
  357.     │       │Keybindings             │                                     │
  358.     │       │command Overrides       │                                     │
  359.     │       │Quick lines             │                                     │
  360.     │       │Default DOS command     │                                     │
  361.     │       │tbox┌─────────────┐     │                                     │
  362.     │       └────│Flags        │─────┘                                     │
  363.     │            │Command line │                                           │
  364.     │            └─────────────┘                                           │
  365.     │                                                                      │
  366.     │                                                                      │
  367.     │                                                                      │
  368.     │                                                                      │
  369.     │                                                                      │
  370.     └─────────────────────────────────────────────── F1 for HELP ──────────┘
  371.  
  372.     Figure 3/1 Example ToolBOX Screen Showing Default DOS Command
  373.     Configuration
  374.  
  375.  
  376.     The two upper boxes are always on the screen.  The box in the upper
  377.     right hand corner shows the time and the currently open configuration
  378.     file - if there is one.  The upper left box is effectively the main menu
  379.  
  380. TBOXCFG User Manual                                                   Page 7
  381. ____________________________________________________________________________
  382.  
  383.  
  384.     from which all others are generated.  In the example "Configure" was
  385.     selected from the main menu which in turn produces the next box showing
  386.     the possible configurable options.  From this menu the "Default DOS
  387.     Command" was selected which in turn shows the options within this topic.
  388.  
  389.     Most of the basic operational functions resemble those in ToolBOX.
  390.     Within menus, use the cursor keys to move to the desired option and then
  391.     select it with <RETURN>.  Alternatively, one can select an option by
  392.     entering the letter that is highlighted on the desired option line.
  393.  
  394.     Use <ESC> to back-out of the current menu.  In some cases <ESC> can also
  395.     be used to cancel data that has been changed.  For example for windows
  396.     where text is being entered, entering <ESC> will essentially cancel the
  397.     new text and leave the original text intact.
  398.  
  399.     Again <F1> can always be used to obtain Help information.  Within
  400.     TBOXCFG this help text is context sensitive (i.e.: relates to your
  401.     current activity).
  402.  
  403.     Many operations generate text-entry windows through which text line(s)
  404.     can be entered.  For these the cursor keys as well as <DEL>, <INS>, and
  405.     <BACKSPACE> behave as one would expect.  Note that single line text-
  406.     entry windows typically can accept wider lines than that shown on the
  407.     screen.  Continue to enter text and the window will scroll horizontally
  408.     in jumps of 10 characters.  When a text line is full an audio tone will
  409.     sound, since excess text does not wrap down.  Entering <RETURN> in the
  410.     middle causes lines to be split while <DEL>eleting the return at the end
  411.     of a line will cause the consecutive lines to be concatenated providing
  412.     there is room for both lines.  To save the entered text enter <F10> or
  413.     use <RETURN> on the last physical line.
  414.  
  415.     For other situations which require special keys, the keys are specific-
  416.     ally identified on the screen.  For example <F10> is used to close text
  417.     entry windows while <RIGHT> and <CTRL RIGHT> are used to scroll through
  418.     the color selections.
  419.  
  420.     It should be noted that most of the data entered, is not, or cannot be,
  421.     validated when entered into the TBOXCFG program.  This checking must be
  422.     deferred until the configuration file is actually used by the ToolBOX
  423.     program.
  424.  
  425.  
  426.  
  427. TBOXCFG User Manual                                                   Page 8
  428. ____________________________________________________________________________
  429.  
  430.  
  431. 4.0 Configuration Files and the Main Menu
  432.  
  433.     Obviously the intent of TBOXCFG is to modify and create configuration
  434.     data and place this information into a configuration file.  Ultimately
  435.     this file will be used by ToolBOX to modify its behavior.
  436.  
  437.     Unless specified as a command line argument, TBOXCFG starts up without a
  438.     default configuration file.  At this point the effective configuration
  439.     data (i.e. the settings available for modification) is equivalent to the
  440.     factory settings used by ToolBOX if no configuration file is used.  That
  441.     is, the natural settings as described throughout the ToolBOX User
  442.     Manual.
  443.  
  444.     The currently active configuration file is shown in the box in the upper
  445.     right below the time.  If none is currently active the name field is
  446.     filled with "--------" to indicate the default is being used.
  447.     Configuration files by default have an extension of "CFG" although
  448.     anything can be used.
  449.  
  450.     The main menu allows the user to read, start modifications, or write
  451.     configuration files.
  452.  
  453.     The four options with the main menu are:
  454.  
  455.           Load configuration file
  456.  
  457.                This requests that a new configuration file be read.  This is
  458.                equivalent to specifying the configuration file as an
  459.                argument on the startup command line.
  460.  
  461.                When the option is selected a text entry window appears for
  462.                entering the desired pathname.  If an existing configuration
  463.                file is already open, its name appears as the starting
  464.                default in the text window.  Enter the new name as desired.
  465.                If no path is provided, the current directory is assumed.  If
  466.                no extension is given, "CFG" is assumed.  To specify that no
  467.                extension be used, terminate the pathname with a ".".
  468.  
  469.                If the specified file cannot be found, the existing
  470.                configuration data is left unchanged, and an error window is
  471.                generated.  If the file is found, the new data is read in and
  472.                completely replaces the existing settings.  Nothing from the
  473.                previous configuration is preserved when reading in a new
  474.                file.
  475.  
  476.           Configure
  477.  
  478.                This selection brings up a sub-menu containing the nine
  479.                configurable areas.  The options, and Sections in which they
  480.                are documented in this manual are:
  481.  
  482.                     command line Arguments   Section 5
  483.                     select Color             Section 6
  484.                     Sort order formats       Section 7
  485.                     display Formats          Section 8
  486.  
  487. TBOXCFG User Manual                                                   Page 9
  488. ____________________________________________________________________________
  489.  
  490.  
  491.                     Keybindings              Section 9
  492.                     command Overrides        Section 10
  493.                     Quick lines              Section 11
  494.                     Default DOS command      Section 12
  495.                     ToolBOX Banner           Section 13
  496.  
  497.                Each option in turn brings up further sub-menus as needed for
  498.                its function.  The documentation within each referenced
  499.                section assumes each of the options have been selected from
  500.                the Configure menu.
  501.  
  502.                All of the configuration options operate on the in-memory
  503.                representation of the settings.  If you decide that you do
  504.                not want to retain the changes that have been made, then
  505.                simply don't save the configuration file at the end of the
  506.                session.  Many of the individual configuration options have
  507.                explicit facilities to cancel changes.  Again, these are
  508.                changes to the in-memory version.  The disk file version is
  509.                never modified until the Save configuration file menu.
  510.  
  511.  
  512.           Save configuration file
  513.  
  514.                This requests that the current configuration data be saved to
  515.                a disk file.  Like the equivalent read option, this brings up
  516.                a text entry window for the pathname for the new config-
  517.                uration data; pre-initialized to the currently open config-
  518.                uration pathname if there is one.  Again if a path is not
  519.                explicitly stated then the current directory is assumed.  A
  520.                "CFG" extension is assumed if none is specified.
  521.  
  522.                As a precaution, if the configuration file existed
  523.                previously, then the old file is renamed with a "BAK"
  524.                extension.  To recover the old contents just refer to the
  525.                "BAK" version directly or copy the "BAK" file over the newer
  526.                undesired file.
  527.  
  528.  
  529.           eXit
  530.  
  531.                Requests that the TBOXCFG program be terminated.  Entering
  532.                <ESC> within this menu is equivalent to the eXit option.
  533.  
  534.                If changes have been made to the configuration data since the
  535.                last save, the user will be given one last opportunity to
  536.                either return to the program so the changes can be saved or
  537.                to exit the program and abandon the changes.
  538.  
  539.  
  540. TBOXCFG User Manual                                                  Page 10
  541. ____________________________________________________________________________
  542.  
  543.  
  544. 5.0 Configure Option : Command Line Arguments
  545.  
  546.     Use this option to enter text that is equivalent to what would be
  547.     entered on the ToolBOX program startup command line.  Up to 72
  548.     characters can be entered into the text-entry window.  The initial
  549.     default is no text.  Enter <ESC> to cancel any changes and revert to the
  550.     prior setting.  Enter <F10> to save the changes.
  551.  
  552.     The only difference between arguments entered here and those entered on
  553.     the ToolBOX command line, established by the BTS set variable, or
  554.     created in the TBOX program by BTSPATCH, relates to the precedence in
  555.     which they are evaluated when multiple conflicting settings are
  556.     specified.  Which of the methods is used depends on the desired
  557.     permanence, whether the ToolBOX program or configuration file are to be
  558.     shared among multiple users or purposes, and so on.
  559.  
  560.     The TBOXCFG program does not check the validity of any of the text that
  561.     is entered.  This is deferred until the associated configuration file is
  562.     actually referenced by the ToolBOX program.
  563.  
  564.  
  565.  
  566. TBOXCFG User Manual                                                  Page 11
  567. ____________________________________________________________________________
  568.  
  569.  
  570. 6.0 Configure Option : Select Color
  571.  
  572. 6.1 Main Color Menu
  573.  
  574.     This option allows changes to the foreground and background color
  575.     attributes for each of the three color tables: for color, monochrome,
  576.     and grayscale monitors.  Each table consists of fourteen separate pairs
  577.     of values corresponding to the foreground/background colors for various
  578.     regions of the ToolBOX screens.
  579.  
  580.     In this section the term color is used as if we were always using the
  581.     color table.  Obviously for the grayscale table this actually
  582.     corresponds to an intensity level of a given "color" while for
  583.     monochrome screens these same attributes control bold and underline.
  584.  
  585.     The main color menu is used to manipulate the color tables as a whole.
  586.     The four selectable options are:
  587.  
  588.           Change colors
  589.  
  590.                Moves to the menu where the individual color changes can be
  591.                made to the current color table.  Refer to Section 6.2 for
  592.                details.
  593.  
  594.           Restore Defaults
  595.  
  596.                Restores the factory default settings for the current color
  597.                table.  If you wish to restore the original settings for the
  598.                current configuration, exit this menu and re-read the
  599.                configuration file.
  600.  
  601.           Pick color table
  602.  
  603.                Invokes a menu to select one of the three color tables
  604.                (color, monochrome, or grayscale) as the current table.  A
  605.                diamond appears beside the currently selected table.   This
  606.                current table is referenced by the Change color and Restore
  607.                defaults options.
  608.  
  609.                The initial table setting corresponds to the color table
  610.                requested for the TBOXCFG program itself.  Configuring any
  611.                table other than the one corresponding to the current monitor
  612.                type is questionable since the attributes cannot be properly
  613.                displayed.
  614.  
  615.           caNcel changes
  616.  
  617.                Ignore all changes made to any table since this menu was last
  618.                entered.
  619.  
  620.     No mechanism exists for changing the colors for the TBOXCFG program
  621.     itself.
  622.  
  623.  
  624. TBOXCFG User Manual                                                  Page 12
  625. ____________________________________________________________________________
  626.  
  627.  
  628. 6.2 Change Color Settings
  629.  
  630.     There are fourteen color fields used within ToolBOX.  As shown in Figure
  631.     6/1, the color change screen has two separate windows.  The box on the
  632.     left is a help screen showing the expected keys and the topic associated
  633.     with each of the 14 fields - labeled A through N.  The box on the right
  634.     shows a simulated series of menu boxes to illustrate how these color
  635.     changes actually appear.
  636.  
  637.     ┌───────────────────────── ToolBOX Configuration ──────────────────────┐
  638.     │                                    ┌────  Sample Color Table  ────┐  │
  639.     │                                    │                              │  │
  640.     │  ┌──────────────────────────────┐  │ ┌─[A] Directory Box────────┐ │  │
  641.     │  │<>      for foreground color│  │ │┌─[B] Dir Box - Selected─┐│ │  │
  642.     │  │<CTRL > for background color│  │ ││[C] normal  .fil        ││ │  │
  643.     │  │──────────────────────────────│  │ ││[D] cursor  .fil        ││ │  │
  644.     │  │[A] Dir Normal Box            │  │ ││[] selected.fil        ││ │  │
  645.     │  │[B] Dir Selected Box          │  │ ││[F] curs-sel.fil        ││ │  │
  646.     │  │[C] Dir: normal text          │  │ │└────────────────────────┘│ │  │
  647.     │  │[D] Dir: cursor text          │  │ │[G] Cmd> [H] Entered text │ │  │
  648.     │  │[E] Dir: selected text        │  │ └──────────────────────────┘ │  │
  649.     │  │[F] Dir: selected & cursor    │  │                              │  │
  650.     │  │[G] Kbd cmd prefix            │  │ ┌─[I] Menu Box─────────────┐ │  │
  651.     │  │[H] Kbd entered text          │  │ │[J] Normal entry          │ │  │
  652.     │  │[I] Menu Box                  │  │ │[K] Selected entry        │ │  │
  653.     │  │[J] Menu: normal              │  │ │[L] Select Char           │ │  │
  654.     │  │[K] Menu: selected            │  │ └──────────────────────────┘ │  │
  655.     │  │[L] Menu: select char         │  │                              │  │
  656.     │  │[M] Help Box                  │  │ ┌─[M] Help Box─────────────┐ │  │
  657.     │  │[N] Help: text                │  │ │[N] Help text             │ │  │
  658.     │  └──────────────────────────────┘  │ └──────────────────────────┘ │  │
  659.     │                                    │                              │  │
  660.     │                                    └──────────────────────────────┘  │
  661.     └─────────────────────────────────────────────── F1 for HELP ──────────┘
  662.  
  663.     Figure 6/1  Example Screen for Changing Colors
  664.  
  665.  
  666.     For example, the upper box in the right window simulates the main
  667.     ToolBOX screen.  The labeled fields represent the color for:
  668.  
  669.           [A] the outer box when ToolBOX is in DIRECTORY mode.
  670.           [B] the outer box when ToolBOX is in SELECT mode (the normal case)
  671.           [C] normal files in the directory display.
  672.           [D] the file in the display that coincides with the cursor.
  673.           [E] a selected file in the display.
  674.           [F] a selected file in the display that coincides with the cursor.
  675.           [G] the "CMD>" prefix for the keyboard command line at the bottom
  676.               of the ToolBOX screen.
  677.           [H] the text portion of the keyboard command line.
  678.  
  679.     The simulated boxes will give a feeling for how the screen will
  680.     ultimately appear.
  681.  
  682.  
  683. TBOXCFG User Manual                                                  Page 13
  684. ____________________________________________________________________________
  685.  
  686.  
  687.     To change a color:
  688.  
  689.           1) select one of the 14 color fields by using the <UP> and <DOWN>
  690.              cursor keys.  The current field is identified by the flashing
  691.              diamond in the simulated screen on the right.
  692.  
  693.           2) change the foreground color by using the <LEFT> and <RIGHT>
  694.              cursor keys to cycle through the 16 possibilities.  Each change
  695.              is reflected in the simulated screen.  All video modes have 16
  696.              settings, although for monochrome mode many of these are
  697.              duplicates.
  698.  
  699.           3) change the background color by using the <CTRL LEFT> and <CTRL
  700.              RIGHT> keys to cycle through the 8 possibilities.  An
  701.              additional 8 flashing background settings can be made available
  702.              through the -xF command line argument described in Section 2.3.
  703.              Normally these are disabled as they aren't typically used and
  704.              increase the effort required to cycle through the settings.
  705.  
  706.           4) when the foreground and background colors for the field are set
  707.              correctly, either return to step 1 for other fields or enter
  708.              <ESC> to return to the parent Main Color menu.
  709.  
  710.     If you wish to cancel the color changes that have been made, then use
  711.     the Cancel option in the parent Main Color Menu.
  712.  
  713.     Color selection is a matter of personal choice.  Our extensive Graphics
  714.     Art department here at The Binary Toolshed won't feel slighted in the
  715.     least that you have chosen to ignore the default colors that they spent
  716.     countless hours selecting.
  717.  
  718.  
  719.  
  720. TBOXCFG User Manual                                                  Page 14
  721. ____________________________________________________________________________
  722.  
  723.  
  724. 7.0 Configure Option : Sort Order Formats
  725.  
  726.     Through this option you can identify 8 separate sets of sort rules.
  727.     Each can then be referenced from within ToolBOX by the -s# command line
  728.     argument, the sort option sub-menu of the ToolBOX popup menu, or the /s#
  729.     parameter on the intrinsic dir command line.
  730.  
  731.     ┌──────────────────────── ToolBOX Configuration ──────────────────────┐
  732.     │                                                                     │
  733.     │                                                ╔════════════════╗   │
  734.     │  ┌────────────────────────┐                    ║  Tue Jly 14/92 ║   │
  735.     │  │Load configuration file │                    ║    09:52:58    ║   │
  736.     │  │Configure               │                    ║   ----------   ║   │
  737.     │  │Save┌────────────────────────┐               ╚════════════════╝   │
  738.     │  │eXit│command line Parameters │                                    │
  739.     │  └────│select Colors           │                                    │
  740.     │       │Sort order formats      │                                    │
  741.     │       │disp┌──────────────────┐│                                    │
  742.     │       │Key │eXtension-name    ││                                    │
  743.     │       │comm│Date┌──Sort Description and Format─┐                    │
  744.     │       │Quic│Size│eXtension-name                │                    │
  745.     │       │Defa│dOs │xn                            │                    │
  746.     │       │tbox│Name└────────────── F10 To Save ───┘                    │
  747.     │       └────│extension-daTe    │┘                                    │
  748.     │            │extension-siZe    │                                     │
  749.     │            │Reverse-date-name │                                     │
  750.     │            └──────────────────┘                                     │
  751.     │                                                                     │
  752.     │                                                                     │
  753.     │                                                                     │
  754.     │                                                                     │
  755.     └─────────────────────────────────────────────── F1 for HELP ─────────┘
  756.  
  757.     Figure 7/1 Example TBOXCFG Screen Illustrating Sort Option
  758.  
  759.     As shown in Figure 7/1, the first window presented is a list of the 8
  760.     existing sort settings.  Enter the highlighted letter (or cursor to the
  761.     option and enter <RETURN>) to select the one you wish to edit or
  762.     replace.  This brings up a text-entry window with two lines.  The first
  763.     line is to be used as the sort description or label field, while the
  764.     second is for the sort specification.
  765.  
  766.     The sort description is used for the label on the parent menu as well as
  767.     the popup sort selection menu within the ToolBOX program.  The name may
  768.     contain up to 30 characters.  The first capital letter (if any) will be
  769.     used as the highlight letter for the fast menu selection.  The second
  770.     and subsequent capitals have no special effect.  If multiple labels
  771.     share the same first capital letter, only the first will be used for the
  772.     fast selection.
  773.  
  774.  
  775. TBOXCFG User Manual                                                  Page 15
  776. ____________________________________________________________________________
  777.  
  778.  
  779.     The second line containing the sort specification is composed of a
  780.     series of code letters identifying the sort rules:
  781.  
  782.           x    extension - alphabetical order
  783.           n    name      - alphabetical order
  784.           d    date      - oldest first
  785.           s    size      - smallest first
  786.           r    reverse order
  787.  
  788.     Case is not significant.  If no letter is specified, the directory
  789.     entries are left unsorted in the natural DOS order.  If more than one
  790.     code letter is specified, the second and subsequent are used to resolve
  791.     ties that remain from the previous sorts.  The reverse order request is
  792.     done at the end after all other sort procedures have been performed.
  793.  
  794.     For example, the specification:
  795.  
  796.           nxr
  797.  
  798.     requests that the primary sort be an alphabetical sort based on the 8
  799.     character filename.  For multiples entries with the same 8 character
  800.     name (i.e. ties), resolve the tie by sorting alphabetically on the 3
  801.     character extension.  On completion of all this, reverse the order of
  802.     the entire directory.
  803.  
  804.     Within a ToolBOX directory display the current directory, ".", always
  805.     remains as the first entry.
  806.  
  807.  
  808.  
  809. TBOXCFG User Manual                                                  Page 16
  810. ____________________________________________________________________________
  811.  
  812.  
  813. 8.0 Configure Option : Display Formats
  814.  
  815.     This option is similar to the sort option except that it establishes 8
  816.     separate display format specifications for the ToolBOX directory file
  817.     entries.  As shown in Figure 8/1 the item selection and the two line
  818.     text entry window for inputting the label and format specification are
  819.     also the same.
  820.  
  821.     ┌───────────────────────── ToolBOX Configuration ──────────────────────┐
  822.     │                                                                      │
  823.     │                                                  ╔════════════════╗  │
  824.     │  ┌────────────────────────┐                      ║  Tue Jly 14/92 ║  │
  825.     │  │Load configuration file │                      ║    01:58:10    ║  │
  826.     │  │Configure               │                      ║   ----------   ║  │
  827.     │  │Save┌────────────────────────┐                 ╚════════════════╝  │
  828.     │  │eXit│command line Parameters │                                     │
  829.     │  └────│select Colors           │                                     │
  830.     │       │Sort order formats      │                                     │
  831.     │       │display Formats         │                                     │
  832.     │       │Key ┌──────────────────┐│                                     │
  833.     │       │comm│Master            ││                                     │
  834.     │       │Quic│filename-Size     ││                                     │
  835.     │       │Defa│filename-Date     ││                                     │
  836.     │       │tbox│File┌───Dir Description and Format─┐                     │
  837.     │       └────│Name│filename-Date                 │                     │
  838.     │            │mAst│/n.x D                        │                     │
  839.     │            │siZe└────────────── F10 To Save ───┘                     │
  840.     │            │filename-sizE (B) │                                      │
  841.     │            └──────────────────┘                                      │
  842.     │                                                                      │
  843.     │                                                                      │
  844.     │                                                                      │
  845.     └─────────────────────────────────────────────── F1 for HELP ──────────┘
  846.  
  847.     Figure 8/1 Example TBOXCFG Screen Illustrating Display Format Option
  848.  
  849.  
  850.     The display format specification is composed of a number of single
  851.     character codes:
  852.  
  853.           D    ddMmmyy date string
  854.           d    2 char day
  855.           m    2 char month
  856.           y    2 char year
  857.           M    3 char Month
  858.           t    hh:mm time field
  859.  
  860.           n    8 character name
  861.           x    3 character extension
  862.  
  863.           C    8 character file size byte count,
  864.                  or "  <DIR>  " if a directory
  865.           c    8 character file size byte count,
  866.                  or "         " if a directory
  867.  
  868.  
  869. TBOXCFG User Manual                                                  Page 17
  870. ____________________________________________________________________________
  871.  
  872.  
  873.           s     if file is selected, otherwise " "
  874.  
  875.           \    file status: displays as "\" if a directory, otherwise " "
  876.           /    file status: displays file attribute status character,
  877.                in decreasing priority:
  878.                     "s"  system
  879.                     "h"  hidden
  880.                     "r"  read-only
  881.                     "\"  subdirectory
  882.                     " "  none
  883.  
  884.           "literal string"   any text
  885.  
  886.     These characters can be combined in any order to create the desired
  887.     display format.  Characters that do not correspond to any of the format
  888.     characters are treated literally; for example spaces or periods can be
  889.     used to separate fields.  Alternatively, literal text can be entered
  890.     directly by enclosing it in quotation marks.
  891.  
  892.     The format characters are essentially self explanatory.  Various
  893.     date/time combinations are identified through D d m y M and T.  Filename
  894.     components are specified through n and x.  The s field is an alternative
  895.     mechanism to using color highlight to identify selected display entries.
  896.     The \ and / produce single character file status characters, where \
  897.     just identifies the entry as a directory, while / also shows applicable
  898.     system, hidden and read-only file attributes.
  899.  
  900.     ToolBOX will adjust the number of file columns within the directory
  901.     display according to the effective width of the formatted specification.
  902.     A minimum of two spaces is inserted between each pair of columns.  There
  903.     is no indication within the TBOXCFG program of how the formatted text
  904.     will appear or of the number of columns.
  905.  
  906.     As an example, the default master display label and format specification
  907.     are (quotes are added for presentation purposes):
  908.  
  909.                "Master"
  910.                "\n.xC  D t"
  911.  
  912.     which displays as two columns, each of which appears as:
  913.  
  914.                " FILENAME.EXT    2,345  14Jly92 09:29"
  915.  
  916.  
  917.  
  918.  
  919. TBOXCFG User Manual                                                  Page 18
  920. ____________________________________________________________________________
  921.  
  922.  
  923. 9.0 Configure Option : Key-Bindings
  924.  
  925. 9.1 Key Binding Edit/Insertion/Deletion
  926.  
  927.     Keybindings are used to associate a set of operations with a keyboard
  928.     key.  These associated items include:
  929.  
  930.           o text label - used to recognize the keybinding within the
  931.             TBOXCFG program.
  932.           o optional file matchlist specification needed for activation.
  933.           o keystroke character needed for activation.
  934.           o command set containing command lines to be processed - both DOS
  935.             and ToolBOX intrinsic commands.
  936.           o help text.
  937.           o flags - for updating directory display on completion, or
  938.             pausing, and so on.
  939.  
  940.     Selecting the Key Binding option from the Configure menu, produces a
  941.     window with a list of the labels for the existing keybindings.  The
  942.     menus within this option allow you to add, delete, or edit items in the
  943.     list.  To perform one of these update operations, cursor to the desired
  944.     keybinding label and enter <RETURN>.  The next menu options are:
  945.  
  946.           Edit
  947.  
  948.                Initiates changes to the existing settings for the
  949.                keybinding.  Refer to section 9.2 for the options available.
  950.  
  951.           Insert before
  952.  
  953.                Adds a new entry before the current keybinding.  Refer to
  954.                Section 9.2 for the options available.
  955.  
  956.           Append after
  957.  
  958.                Adds a new entry after the current keybinding.  Refer to
  959.                Section 9.2 for the options available.
  960.  
  961.           Cut
  962.  
  963.                Deletes the current keybinding.  The deleted entry is
  964.                temporarily retained and can be used in subsequent paste
  965.                operations.  These Cut and Paste combinations can be used to
  966.                duplicate or move entries.
  967.  
  968.           Paste after
  969.  
  970.                Inserts a copy of the most recent Cut operation after the
  971.                current keybinding.
  972.  
  973.     The order of the entries in the list is significant.  ToolBOX will stop
  974.     at the first entry that satisfies the keystroke and file match
  975.     requirements.  For example, if you wish to associate a keybinding with
  976.     an alphabetic key, it must be placed before the keyboard command line
  977.     binding that matches all ASCII keystroke characters.
  978.  
  979. TBOXCFG User Manual                                                  Page 19
  980. ____________________________________________________________________________
  981.  
  982.  
  983.  
  984.  
  985. 9.2 Key Binding Fields
  986.  
  987. 9.2.1 Key Binding Edit Menu
  988.  
  989.     The keybinding edit menu allows individual access to each of the 6
  990.     fields plus an edit cancel option:
  991.  
  992.           Label
  993.           Matchlist
  994.           Keystroke
  995.           Command text
  996.           Help text
  997.           Flags
  998.           Cancel changes
  999.  
  1000.     During the edit operations, changes are made to a copy of the actual
  1001.     keybinding.  No changes are saved until <ESC> is used to exit from the
  1002.     edit menu.  To exit from the menu and ignore whatever changes were made
  1003.     to the fields, use the Cancel changes option.
  1004.  
  1005.     If the edit menu was reached from the Insert or Append options, then
  1006.     each field is initialized with the default settings.
  1007.  
  1008.  
  1009. 9.2.2 Key-Binding Field - Label
  1010.  
  1011.     The label field is used in the menu list of defined keybindings.  This
  1012.     is the only keybinding field that is used for the TBOXCFG program rather
  1013.     than ToolBOX itself.
  1014.  
  1015.     Up to 32 characters can be entered to describe the keybinding.
  1016.  
  1017.  
  1018. 9.2.3 Key-Binding Field - Match List String
  1019.  
  1020.     The matchlist is the optional file match specification(s) that must
  1021.     correspond to the selected file(s) before ToolBOX will invoke the
  1022.     keybinding.  If not supplied, the binding will be selected solely on the
  1023.     keystroke specification.
  1024.  
  1025.     As per the standard matchlist definition, the list can contain one or
  1026.     more filematch specifications.  Each filematch specification can contain
  1027.     the * or ? wildcards, and be preceded with !.  The ! designates that
  1028.     files matching this specification should be removed from the list of
  1029.     files selected by prior specifications.
  1030.  
  1031.     The default setting is the absence of a specification.  This designates
  1032.     that keybinding is to be selected solely on the keystroke value and is
  1033.     independent of whether or not files are selected.
  1034.  
  1035.  
  1036. TBOXCFG User Manual                                                  Page 20
  1037. ____________________________________________________________________________
  1038.  
  1039.  
  1040. 9.2.4 Key-Binding Field - Keystroke
  1041.  
  1042.     The keystroke is the keyboard character that must be matched for ToolBOX
  1043.     to invoke the keybinding.
  1044.  
  1045.     When the option is selected, a list of all possible keystrokes is shown.
  1046.     Select the desired entry, either by cursoring to it or by directly
  1047.     entering the keystroke.  Most of the keystrokes are straight forward,
  1048.     simply representing the valid combinations of the normal keys along with
  1049.     the <SHIFT>, <CTRL>, and <ALT> keys.  However, a few special conditions
  1050.     should be noted:
  1051.  
  1052.           o characters that are not available include:
  1053.  
  1054.                . the alphabetic keys (without CTRL or ALT)
  1055.  
  1056.                . the ToolBOX basic operation keys:  cursor keys, <PG UP>,
  1057.                  <PG DN>, <HOME>, <END>, <ESC>, and <SPACE>
  1058.  
  1059.           o as <RETURN> is used in the menu selection process, you must
  1060.             cursor to it to select its entry.
  1061.  
  1062.           o the only special allowance made for the 101 key AT keyboards are
  1063.             that the <+> and <-> keys are distinguished from the equivalent
  1064.             keys on the main part of the keyboard.  The <F11> and <F12> keys
  1065.             are not supported.
  1066.  
  1067.           o for keys that may not be available on all keyboards, the key
  1068.             label in the menu is enclosed in [brackets].  Use the direct
  1069.             menu select mechanism to test if they have the desired effect.
  1070.             This applies to such characters as <CTRL RETURN> which may not
  1071.             be supported by your BIOS or the mid <keypad 5> which may not
  1072.             physically exist on your keyboard.  Refer to the General Product
  1073.             Overview Manual for alternate keystrokes for these keys.
  1074.  
  1075.           o with three exceptions, all the keys correspond to single
  1076.             keystrokes (with one of more shift states).  The three
  1077.             exceptions provide a mechanism to group common keys together.
  1078.             The keystroke for these can be assumed to be matched if any of
  1079.             the keys within the group are entered.  The labels for the three
  1080.             groups are:
  1081.  
  1082.                ASCII       Group contains the standard 95 printable charact-
  1083.                            ters available through the main portion of the
  1084.                            keyboard.  Includes the upper and lower case
  1085.                            alphabetics, numeric, and punctuation characters.
  1086.  
  1087.                ALT LETTER  The 26 alphabetic keys when used in conjunction
  1088.                            with the ALT key.
  1089.  
  1090.                CTRL LETTER The 26 alphabetic keys when used in conjunction
  1091.                            with the CTRL key.
  1092.  
  1093.     There is no default keystroke selection.
  1094.  
  1095.  
  1096. TBOXCFG User Manual                                                  Page 21
  1097. ____________________________________________________________________________
  1098.  
  1099.  
  1100. 9.2.5 Key-Binding Field - Command Set
  1101.  
  1102.     The Command Set field represents the individual instructions that are to
  1103.     be processed when the keybinding is invoked.  The command lines can be
  1104.     either DOS commands or ToolBOX intrinsics.  Rules for the available
  1105.     commands and their contents are provided in Section 9.3.
  1106.  
  1107.     Each command set may contain up to 40 lines of up to 68 characters each.
  1108.     The lines can contain any valid CTRL character variable.  TBOXCFG does
  1109.     not check the validity of the entered command lines.  The command set
  1110.     lines can be viewed from within the ToolBOX program through the extended
  1111.     help facility, <ALT F1>.
  1112.  
  1113.  
  1114. 9.2.6 Key-Binding Field - Help Text
  1115.  
  1116.     The help text entered here is displayed when the <F1> help key is used
  1117.     within ToolBOX.  This help text for the configured keybindings is
  1118.     displayed after the explanations for the basic ToolBOX operations.
  1119.  
  1120.     As for the command lines, you may enter up to 40 lines of up to 68
  1121.     characters each.  The convention employed for the factory default
  1122.     commands is a single line for each consisting of:
  1123.  
  1124.           o 8 characters for the match string or " ---    " if not
  1125.             applicable.
  1126.  
  1127.           o 12 characters for the keystroke match.
  1128.  
  1129.           o up to 48 characters of explanation.
  1130.  
  1131.     Note this is only a convention used to ensure the presentation is
  1132.     consistent.  The help text can span any number of lines, even zero, and
  1133.     employ any formatting that may be desirable.
  1134.  
  1135.  
  1136. 9.2.7 Key-Binding Field - Flags
  1137.  
  1138.     The Flags menu sets the state for seven different aspects of executing a
  1139.     keybinding.  These are primarily used to optimize the screen transitions
  1140.     from the ToolBOX directory display to the program (or DOS) screen and
  1141.     then back.  Each keybinding will have different requirements in terms of
  1142.     video modes that must be initialized, file updates that must be
  1143.     integrated into the display, pause and error processing requirements,
  1144.     and so on.  The flag settings can be used to ensure that the transitions
  1145.     are done as quickly and as smoothly as possible.
  1146.  
  1147.     As each of the seven flag settings is selected, a submenu appears
  1148.     showing the available options.  The current setting is prefixed with a 
  1149.     character. To change the setting, cursor to the desired option and enter
  1150.     <RETURN> or <SPACE>.  Figure 9/1 illustrates one of these menus - for
  1151.     setting error condition options.
  1152.  
  1153.  
  1154. TBOXCFG User Manual                                                  Page 22
  1155. ____________________________________________________________________________
  1156.  
  1157.  
  1158.     ┌───────────────────────── ToolBOX Configuration ──────────────────────┐
  1159.     │                                                                      │
  1160.     │                                                   ╔════════════════╗ │
  1161.     │ ┌────────────────────────┐                        ║  Tue Jly 14/92 ║ │
  1162.     │ │Load configuration file │                        ║    11:47:51    ║ │
  1163.     │ │Configure┌───────────────────────────────┐       ║   ----------   ║ │
  1164.     │ │Save┌────│Select all ent┌───────────────────────┐╚════════════════╝ │
  1165.     │ │eXit│comm│Select current│Switch to DOS window   │                   │
  1166.     │ └────│sele│Sele┌─────────│Tell DOS of Video Lines│                   │
  1167.     │      │Sort│Exec│Edit     │Display data           │                   │
  1168.     │      │disp│Star│Inse┌────│sUbdirectory           │                   │
  1169.     │      │Key │Star│Appe│Labe│Pause on completion    │                   │
  1170.     │      │comm│KBD>│Cut │Matc│On error               │                   │
  1171.     │      │Quic│DELE│Past│Keys│Embe┌───────┐          │                   │
  1172.     │      │Defa│KBD>└────│Comm│sKip│ Abort │          │                   │
  1173.     │      │tbox│KILLDIR  │Help└────│Ignore│──────────┘                   │
  1174.     │      └────│PRINT    │Flags    └───────┘   │                          │
  1175.     │           │QUICK EXI│Cancel ch      │     │                          │
  1176.     │           │KBD> RENA└───────────────┘     │                          │
  1177.     │           │Shell to DOS                   │                          │
  1178.     │           │TREE directory                 │                          │
  1179.     │           │VIEW File                      │                          │
  1180.     │           └───────────────────────────────┘                          │
  1181.     │                                                                      │
  1182.     └──────────────────────────────────────────────── F1 for HELP ─────────┘
  1183.  
  1184.     Figure 9/1 Example Menu Showing Possible Change To The On-Error Flags
  1185.  
  1186.  
  1187.     Each of the eight flag settings covers a particular aspect of processing
  1188.     a keybinding.  These settings along with their sub-menu options are
  1189.     (defaults shown prefixed with ):
  1190.  
  1191.           Switch to DOS window
  1192.  
  1193.  
  1194.                Controls whether, before the command is executed, ToolBOX
  1195.                should retain it's own directory display or switch to the
  1196.                screen for DOS command lines.  The setting has no effect in
  1197.                split screen mode.
  1198.  
  1199.                     Inhibit switch      Stay with the ToolBOX directory
  1200.                                         display. This should only be used
  1201.                                         for commands which generate no
  1202.                                         output to the screen or produce full
  1203.                                         screen output (that is where
  1204.                                         switching to the DOS screen would be
  1205.                                         immediately replaced anyway).
  1206.  
  1207.                    Switch and save     Restore the DOS screen before
  1208.                                         executing the command, and upon
  1209.                                         completion record the updated screen
  1210.                                         state so that it can be used for the
  1211.                                         next opportunity.  Switching to DOS
  1212.                                         not only restores the screen
  1213.  
  1214. TBOXCFG User Manual                                                  Page 23
  1215. ____________________________________________________________________________
  1216.  
  1217.  
  1218.                                         characters but also the number of
  1219.                                         video lines.  This may be
  1220.                                         significant to some programs.
  1221.  
  1222.                     switch, Don't save  As above except that the updated DOS
  1223.                                         screen is essentially ignored on
  1224.                                         completion.  This is useful for full
  1225.                                         screen programs which require the
  1226.                                         initial DOS screen line settings.
  1227.  
  1228.  
  1229.  
  1230.           Tell DOS of video lines
  1231.  
  1232.                Determines whether DOS should be specifically told there are
  1233.                only 25 lines available in the split screen area.  As
  1234.                explained in the ToolBOX manual for the TBOX -xT command line
  1235.                argument, under some combinations and versions of the
  1236.                ANSI.SYS driver and DOS, it may be possible to have DOS
  1237.                restricted to the 25 line split screen area, yet have
  1238.                applications use the full 43 or 50 line screen.  This flag
  1239.                and the command line argument setting are combined before the
  1240.                command is carried out - i.e. as long as either is set to YES
  1241.                DOS is told of the 25 line restriction.  This setting has no
  1242.                effect if not in split screen mode.
  1243.  
  1244.                     No                  Do not tell DOS.  Assumes DOS
  1245.                                         (usually V3.x or 4 with ANSI.SYS) is
  1246.                                         self limited to the 25 line split
  1247.                                         screen area.
  1248.  
  1249.                    Yes                 Tell DOS (and therefore all other
  1250.                                         programs that default to the current
  1251.                                         screen settings) that only 25 lines
  1252.                                         are available in the split screen
  1253.                                         area.
  1254.  
  1255.  
  1256.  
  1257.           Display data
  1258.  
  1259.                This setting is used to optimize, where possible, the
  1260.                processing required to update the directory display after a
  1261.                keybinding is processed.  A complete update requires that all
  1262.                the files in the directory be re-examined to detect possible
  1263.                changes.  This file data must then be sorted and reformatted
  1264.                for presentation purposes.  Elimination of any of these steps
  1265.                (and especially the re-reading of the directory) helps
  1266.                eliminate unnecessary delays.
  1267.  
  1268.  
  1269.                    New data            File or directory changes occurred.
  1270.                                         Re-read the directory and update the
  1271.                                         display accordingly.
  1272.  
  1273.  
  1274. TBOXCFG User Manual                                                  Page 24
  1275. ____________________________________________________________________________
  1276.  
  1277.  
  1278.                     Re-sort             File data didn't change. Just re-
  1279.                                         sort it.
  1280.  
  1281.                     re-Sort and format  File data didn't change, but sort
  1282.                                         criteria or format rules did.
  1283.                                         Therefore use the existing file data
  1284.                                         but reformat and re-sort it before
  1285.                                         displaying.
  1286.  
  1287.                     New data if change  ToolBOX can make a SIMPLISTIC test
  1288.                                         for file changes by checking for
  1289.                                         changes in the disk space
  1290.                                         utilization before and after
  1291.                                         execution of the keybinding.
  1292.                                         Depending on whether changes were
  1293.                                         detected, this option completes as
  1294.                                         per the "New data" or "No changes"
  1295.                                         options.
  1296.  
  1297.                                         It must be emphasized that while the
  1298.                                         test is much faster than re-reading
  1299.                                         the entire directory, it is far from
  1300.                                         foolproof.  Do not use this option
  1301.                                         if you cannot afford to have the
  1302.                                         display be slightly out-of-date
  1303.                                         occasionally.
  1304.  
  1305.                     Assume BTS errorlevel
  1306.                                         Most Binary Toolshed programs return
  1307.                                         an error level indicator which
  1308.                                         identifies whether changes have
  1309.                                         occurred (refer to the General
  1310.                                         Product Overview Manual for
  1311.                                         specifics).  This option tells
  1312.                                         ToolBOX to examine this error level
  1313.                                         indicator to determine whatever
  1314.                                         display updates are warranted.
  1315.  
  1316.                     No change           There are no changes to the files
  1317.                                         involved in the current ToolBOX
  1318.                                         directory display, therefore no
  1319.                                         update is required.
  1320.  
  1321.  
  1322.           subDirectory
  1323.  
  1324.                This setting identifies whether the matchlist specification
  1325.                in the keybinding pertains to files and/or subdirectories.
  1326.  
  1327.                    No                  Match files only.
  1328.  
  1329.                     Yes                 Match subdirectories only.
  1330.  
  1331.                     Optional            Match files and subdirectories.
  1332.  
  1333.  
  1334. TBOXCFG User Manual                                                  Page 25
  1335. ____________________________________________________________________________
  1336.  
  1337.  
  1338.  
  1339.  
  1340.           Pause on completion
  1341.  
  1342.                Identifies whether, on completion of processing the
  1343.                keybinding command set, ToolBOX should pause and display the
  1344.                resultant DOS screen or revert immediately to the ToolBOX
  1345.                directory display.  This setting has no effect in split
  1346.                screen mode or if the PAUSE flag within ToolBOX itself is set
  1347.                to YES (see ToolBOX popup menu options or <ALT F2> in the
  1348.                ToolBOX User Manual).
  1349.  
  1350.                If what is desired is to actually pause after each command
  1351.                (and not just preserve DOS screens that would have otherwise
  1352.                been replaced), then specifically insert the DOS PAUSE
  1353.                command within the command set.
  1354.  
  1355.  
  1356.                     after Each command  If a single keystroke involves
  1357.                                         keybindings for a number of selected
  1358.                                         files, then ToolBOX will pause after
  1359.                                         the execution phase has completed
  1360.                                         for each command set for each
  1361.                                         selected file.  Any-key will cause
  1362.                                         the process to resume, however,
  1363.                                         <CTRL c> can be used to abort the
  1364.                                         remaining operations.
  1365.  
  1366.                     after All selected  As above, except ToolBOX pauses once
  1367.                                         and once only at the completion of
  1368.                                         all keybindings for the current
  1369.                                         keystroke.  The PAUSE flag set
  1370.                                         through the TBOX -xP command line
  1371.                                         argument or the ToolBOX popup menu
  1372.                                         sets this setting for all
  1373.                                         keybindings.
  1374.  
  1375.                    Never               Revert immediately to the ToolBOX
  1376.                                         directory display - do not pause.
  1377.  
  1378.  
  1379.           On-error
  1380.  
  1381.                Specifies what should be done when external programs return a
  1382.                non-zero errorlevel value.  The error setting is generally
  1383.                not applicable.  The errorlevel value is only available from
  1384.                programs that are invoked directly; with explicit .exe or
  1385.                .com extensions (for other programs, ToolBOX runs them
  1386.                indirectly through COMMAND.COM which discards the program
  1387.                errorlevel value).  Also the convention for errorlevel values
  1388.                is not consistently followed by all programs.  Judicious
  1389.                caution is warranted.
  1390.  
  1391.                     Abort               Stop processing immediately.  The
  1392.                                         audible alarm for execution errors
  1393.  
  1394. TBOXCFG User Manual                                                  Page 26
  1395. ____________________________________________________________________________
  1396.  
  1397.  
  1398.                                         is also issued.
  1399.  
  1400.                    Ignore              No attention is paid to the
  1401.                                         errorlevel value returned from
  1402.                                         executed programs.
  1403.  
  1404.  
  1405.           Embeddable
  1406.  
  1407.                Indicates to ToolBOX if this keybinding should be allowed to
  1408.                be processed if the associated keystroke is entered when
  1409.                ToolBOX is in the keyboard command line mode.  As explained
  1410.                for "External Command Access" in Section 9.3.2 of the ToolBOX
  1411.                User Manual, as a simple guideline, any command can be used
  1412.                as long as it does not change the current directory,
  1413.                reference the currently selected files, or conflict with
  1414.                characters used for editing the command lines or with those
  1415.                used for command line variables.  The commands that can be
  1416.                used include those that alter the number of screen lines,
  1417.                change the split screen status, change the display sort and
  1418.                format settings, toggle ToolBOX/DOS views etc.
  1419.  
  1420.  
  1421.                    No                  Do not process if the keystroke is
  1422.                                         entered in the middle of a keyboard
  1423.                                         command line.
  1424.  
  1425.                     Yes                 Process the keybinding.  Use caution
  1426.                                         here.
  1427.  
  1428.  
  1429.           sKip to cursor
  1430.  
  1431.                Specifies a special command which is intended to be processed
  1432.                once and once only, and on the file at the current cursor
  1433.                position.  The normal procedure is to execute the keybinding
  1434.                once for each selected file.
  1435.  
  1436.                    No                  Process with normal sequencing
  1437.                                         through selected files.
  1438.  
  1439.                     Yes                 Process as if the file at the cursor
  1440.                                         were the only selected file.  That
  1441.                                         is, perform the processing and then
  1442.                                         stop.  This is primarily used for
  1443.                                         the file selection commands
  1444.                                         themselves (e.g. <ALT space> ) where
  1445.                                         the already selected files should
  1446.                                         not be processed.
  1447.  
  1448.  
  1449.     While these settings may require several repetitions before the optimum
  1450.     states can be found, there is almost always a way to eliminate unneces-
  1451.     sary screen updates or transitions.
  1452.  
  1453.  
  1454. TBOXCFG User Manual                                                  Page 27
  1455. ____________________________________________________________________________
  1456.  
  1457.  
  1458.  
  1459.  
  1460. 9.3 Command Line Contents : DOS and Intrinsic Commands
  1461.  
  1462. 9.3.1 Basics
  1463.  
  1464.     This section describes the commands that can be used within the command
  1465.     line portion of a keybinding (see Section 9.2.5).
  1466.  
  1467.     The lines can be either DOS commands or ToolBOX intrinsics.  Intrinsics
  1468.     are the commands that are processed directly by ToolBOX.  DOS and
  1469.     intrinsic command lines can be combined in any order to comprise a
  1470.     command set.
  1471.  
  1472.     The same rules apply here as for entering keyboard command lines within
  1473.     ToolBOX.
  1474.  
  1475.     For DOS commands avoid using SET and its derivatives - PROMPT and PATH.
  1476.     DOS commands/functions that are specific to batch files such as GOTO and
  1477.     labels are also not available.  Avoid commands which install a resident
  1478.     TSR segment.
  1479.  
  1480.     The basic intrinsic commands (cd, dir, del, killdir, and sel) are
  1481.     described in the ToolBOX User Manual.  This manual describes two
  1482.     additional intrinsics: tbx, and t*x.  While they can be entered through
  1483.     the keyboard command line, they are intended for use within the
  1484.     keybinding command sets.  These are oriented toward system setup and
  1485.     configuration operations.
  1486.  
  1487.  
  1488.  
  1489. 9.3.2 File Variables
  1490.  
  1491.     Command lines, whether DOS or intrinsics, can contain variables which
  1492.     relate to files selected within the directory display.  The effective
  1493.     text is substituted for the variable when the command line is executed.
  1494.     Each variable is created by a <CTRL letter> sequence, and is displayed
  1495.     as letter.  For example <CTRL f> is shown as f.
  1496.  
  1497.     The available variables are:
  1498.  
  1499.           <CTRL d>    display drive letter.
  1500.           <CTRL p>    display path.
  1501.           <CTRL n>    1 to 8 character file name.
  1502.           <CTRL x>    0 to 3 character extension.
  1503.  
  1504.           <CTRL f>    minimized pathname, i.e. sufficient information to
  1505.                       uniquely reference the selected file from the current
  1506.                       directory.
  1507.  
  1508.           <CTRL D>    current drive letter.
  1509.           <CTRL P>    current path.
  1510.  
  1511.           <CTRL c>    last character from keyboard.
  1512.  
  1513.  
  1514. TBOXCFG User Manual                                                  Page 28
  1515. ____________________________________________________________________________
  1516.  
  1517.  
  1518.     The display drive letter can also be entered as a relative drive:
  1519.  
  1520.           [+-!]d     for the drive that is next, previous, or adjacent in
  1521.                       the direction of the direction flag. The resultant
  1522.                       value will always wrap around within the valid range.
  1523.                       For example, the command line:
  1524.  
  1525.                                         +d:
  1526.  
  1527.                       can be used to cycle through all the valid drives on
  1528.                       your system.
  1529.  
  1530.                       To create this sequence, enter <CTRL d>, then cursor
  1531.                       back and insert the direction character before the d.
  1532.  
  1533.  
  1534.  
  1535. 9.3.3 Edit Control Instructions
  1536.  
  1537.     Text for the keyboard command lines (see "t*x p" in Section 9.3.6) can
  1538.     contain embedded instructions which control the edit operation during
  1539.     the initial presentation of the keyboard command.  These instructions
  1540.     are coded as a single letter enclosed in angle brackets.  The four
  1541.     supported instructions, which can be inserted anywhere in the command
  1542.     text, are:
  1543.  
  1544.           <c>         set the cursor position to the current location
  1545.  
  1546.           <i>         start the edit operation in insert-mode
  1547.  
  1548.           <o>         start the edit operation in overstrike-mode
  1549.  
  1550.           <m>         mark the start (or end) of a DefaultText field.  The
  1551.                       text will be displayed in reverse video.  If the
  1552.                       initially entered character is non-printable (such as
  1553.                       <RETURN>), then the DefaultText will be converted to
  1554.                       normal text.  If, however, the initial character is
  1555.                       printable, the marked text will be deleted and
  1556.                       replaced with the newly entered character.  The cursor
  1557.                       will be positioned following this character in insert-
  1558.                       mode.  Only one such field may exist in a command
  1559.                       line.  The field continues to the end-of-line if the
  1560.                       end mark is not supplied.
  1561.  
  1562.     As an example, the following is a possible version of the rename command
  1563.     which suggests the new filename have the same name but a "NEW"
  1564.     extension.  Entering any text will overwrite this extension.
  1565.  
  1566.           t*x p rename f n.<m>new<m>
  1567.  
  1568.  
  1569. TBOXCFG User Manual                                                  Page 29
  1570. ____________________________________________________________________________
  1571.  
  1572.  
  1573. 9.3.4 Command Processing
  1574.  
  1575.     Section 9.3.6 describes the "t*x p command-line" command which preloads
  1576.     the command-line text into the keyboard command line.  The parameters/-
  1577.     variables for this command are evaluated twice.  Once when the command
  1578.     is initially processed and brought into the keyboard command line, and a
  1579.     second time when <RETURN> is ultimately entered.
  1580.  
  1581.     When the variables are processed by ToolBOX, the sequence  is
  1582.     translated to a single .  This facility can be used to ensure that the
  1583.     variables are expanded at the proper time.
  1584.  
  1585.     If the variable is to be replaced with the selected file name at the
  1586.     time the command line is brought into the keyboard buffer, then use one
  1587.     .  If multiple files are selected, only the first will be processed.
  1588.     It is the keyboard command line that would be reprocessed for each
  1589.     selected file, but since this command line is now static and unchanging,
  1590.     there is no need to repeat after the first pass.
  1591.  
  1592.     If the variable is to be replaced at the time the <RETURN> is entered
  1593.     (and repeated for each additional selected file), then use two  prefix
  1594.     characters when placing the variable in the command set for the key
  1595.     binding.  This displays as one  in the keyboard command line.
  1596.  
  1597.     To produce consecutive diamonds (  ), either enter two consecutive
  1598.     valid CTRL characters such as <CTRL f> and then manually delete the
  1599.     first letter, or enter <ALT 0><ALT 0><ALT 4> twice using the numeric
  1600.     keypad.  When using the keypad technique, ensure that NUMLOCK is off and
  1601.     that you release the ALT key after <ALT 4>.
  1602.  
  1603.  
  1604.  
  1605. 9.3.5 Intrinsic tbx Command
  1606.  
  1607.     The intrinsic command tbx is used to implement a number of housekeeping
  1608.     operations.  While intended to be executed transparently through
  1609.     bindings to specific keys, they may be entered manually through the
  1610.     keyboard command line.
  1611.  
  1612.     All commands contain a single letter descriptor followed by additional
  1613.     parameters as required.  These commands are:
  1614.  
  1615.           tbx d          o switch the screen to the DOS window.
  1616.  
  1617.           tbx h #        o initiate ToolBOX help, where # is 1 or 2. 1
  1618.                            selects basic command descriptions, 2 adds the
  1619.                            actual command set text for each key binding.
  1620.                            The key binding  can be used to change the help
  1621.                            descriptions for the configurable commands
  1622.                            contained in the middle section of the help text.
  1623.                            The factory default configuration uses single
  1624.                            line descriptions for each keybinding, but this
  1625.                            need not be the case.
  1626.  
  1627.  
  1628. TBOXCFG User Manual                                                  Page 30
  1629. ____________________________________________________________________________
  1630.  
  1631.  
  1632.           tbx p          o toggle the current PAUSE status.  When ON,
  1633.                            ToolBOX will pause at the DOS screen just before
  1634.                            returning to the ToolBOX directory display.  The
  1635.                            default is OFF, although this can be changed
  1636.                            through the TBOX -xP command line argument.  The
  1637.                            setting can also be examined and changed through
  1638.                            the ToolBOX popup menu.  This setting has no
  1639.                            effect in split screen mode.
  1640.  
  1641.           tbx r ##       o change screen rows to ##, where ## must be one of
  1642.                            25, 43, or 50.  The original DOS setting will be
  1643.                            used for any other values.  No check is made for
  1644.                            consistency with the current video card.
  1645.  
  1646.           tbx t          o toggle the current DIRECTION status.  The
  1647.                            direction state is used by <TAB>, and <SHIFT
  1648.                            SPACE>.  This state can be examined and changed
  1649.                            through the ToolBOX popup menu.
  1650.  
  1651.           tbx w          o toggle between ToolBOX SELECT and DIRECTORY
  1652.                            state.
  1653.  
  1654.           tbx N          o change directories to the next entry in the
  1655.                            directory stack; i.e. move to the next oldest.
  1656.                            The directory stack is a list (to a 500 character
  1657.                            limit) of the previous directories entered and
  1658.                            the file at the cursor on exit from each.
  1659.  
  1660.           tbx P          o change directories to the previous entry in the
  1661.                            directory stack; i.e. move to the next newest.
  1662.  
  1663.           tbx x          o conditional exit, prompt first to ensure user
  1664.                            wants to exit.
  1665.  
  1666.           tbx X          o unconditional exit.  Exit immediately.
  1667.  
  1668.  
  1669.  
  1670. 9.3.6 Intrinsic t*x Command
  1671.  
  1672.     The t*x command is similar to the tbx intrinsic command described in the
  1673.     previous section.  The notable difference being these are only to be
  1674.     initiated from command sets bound to specific keys.  Manually entering
  1675.     these commands through the keyboard command line could cause unpredict-
  1676.     able results.  Refer to the default command configurations for practical
  1677.     examples of how these commands are employed.
  1678.  
  1679.           t*x p [command-line-text]
  1680.                          o start the keyboard command, initializing with all
  1681.                            trailing text on the t*x p command line.
  1682.  
  1683.           t*x l          o start the keyboard command, initializing with
  1684.                            text from the most recent command stack entry.
  1685.                            The command stack is used to retain the latest
  1686.                            keyboard command lines, up to a 500 character
  1687.  
  1688. TBOXCFG User Manual                                                  Page 31
  1689. ____________________________________________________________________________
  1690.  
  1691.  
  1692.                            limit.
  1693.  
  1694.           t*x C          o assign current directory to quick-command x (x is
  1695.                            assumed to be the next character received through
  1696.                            the keyboard).  Quick-commands are limited to a
  1697.                            total of 500 characters.  They can be viewed and
  1698.                            invoked through the popup menu.
  1699.  
  1700.           t*x D          o delete quick-command x (again x is assumed to be
  1701.                            the next character received through the
  1702.                            keyboard).
  1703.  
  1704.           t*x K          o add the current keyboard command line as quick-
  1705.                            command x (x is assumed to be the next character
  1706.                            received through the keyboard).  The keyboard
  1707.                            command line is cleared on receipt of the x
  1708.                            label.
  1709.  
  1710.           t*x X          o execute quick-command x (x is assumed to be the
  1711.                            next character received through the keyboard).
  1712.                            The quick-command text is treated in the same
  1713.                            manner as if it were entered through the keyboard
  1714.                            command line.
  1715.  
  1716.           t*x f progname.ext [param1] [param2] . . .
  1717.                          o if it can be found in the current directory or on
  1718.                            the PATH, then invoke the progname.ext program
  1719.                            and pass it the parameters param1, param2, etc.
  1720.                            If the progname.ext file cannot be located, a
  1721.                            default command line is performed, see Section
  1722.                            12.  The extension must be explicitly stated.
  1723.  
  1724.           t*x x progname.ext [param2] [param3] . . .
  1725.                          o equivalent to the above t*x f command, except
  1726.                            that if progname.ext is not found, ToolBOX simply
  1727.                            beeps.
  1728.  
  1729.           t*x s          o toggle DOS split screen.  Beeps if EGA or VGA
  1730.                            video card not available.  If in 25 line mode,
  1731.                            also automatically shifts to 43 (EGA) or 50 (VGA)
  1732.                            line mode.
  1733.  
  1734.           t*x w          o initiate the popup menu window.  This permits
  1735.                            viewing or changes for quick commands, sort
  1736.                            procedures, display formats, and pause and target
  1737.                            direction states.
  1738.  
  1739.  
  1740.  
  1741. TBOXCFG User Manual                                                  Page 32
  1742. ____________________________________________________________________________
  1743.  
  1744.  
  1745. 10.0 Configure Option : Command Overrides
  1746.  
  1747. 10.1 Basics
  1748.  
  1749.     The command override facility makes it possible to identify and then
  1750.     make appropriate adjustments for specific commands entered on the
  1751.     ToolBOX keyboard command line.  These adjustments are essentially
  1752.     equivalent to the flag settings available for the keybindings - for
  1753.     switching to the DOS screen, pausing, refreshing the directory display,
  1754.     and so on.
  1755.  
  1756.     Configuration for the command is similar to the keybinding facility.
  1757.     When selected from the Configure Menu, a list of the existing command
  1758.     override names is presented.  Cursor to the desired entry and enter
  1759.     <RETURN>.
  1760.  
  1761.     This brings up a menu to select an update option:
  1762.  
  1763.           Edit
  1764.  
  1765.                Initiate changes to the existing settings for the command
  1766.                override.
  1767.  
  1768.  
  1769.           Insert
  1770.  
  1771.                Add a new entry before the current override command.  Flags
  1772.                are initialized to the default settings.  There is no
  1773.                significance to the order of the entries.
  1774.  
  1775.  
  1776.           Paste before
  1777.  
  1778.                Insert a copy of the most recent Cut operation before the
  1779.                current command override.
  1780.  
  1781.  
  1782.           Cut
  1783.  
  1784.                Delete the current override command.  The deleted entry is
  1785.                temporarily retained and can be used in subsequent paste
  1786.                operations.  These Cut and Paste combinations can be used to
  1787.                duplicate or move entries.
  1788.  
  1789.  
  1790.     The order of the override entries is not significant.  With the Edit and
  1791.     Insert options, a secondary menu is generated for the update itself.
  1792.     Its options are:
  1793.  
  1794.  
  1795. TBOXCFG User Manual                                                  Page 33
  1796. ____________________________________________________________________________
  1797.  
  1798.  
  1799.           Program Name
  1800.  
  1801.                Enter the filename for which the override is to apply.  Case
  1802.                is significant, path is not allowed, and the extension is
  1803.                optional.  As for intrinsic commands, the match will only
  1804.                occur if the name is entered in the ToolBOX in all upper or
  1805.                all lower case.  The match is performed with the name portion
  1806.                only.  The extension is provided to optimize the execution
  1807.                phase, such that if it didn't exist already, it is appended
  1808.                when a match occurs.  As for any program invocation, if the
  1809.                .exe or .com extension is known, then ToolBOX is capable of
  1810.                executing it directly without the inefficiency of using the
  1811.                intermediate COMMAND.COM.  The filename entered is also used
  1812.                for display purposes in the original selection list.
  1813.  
  1814.           Flags
  1815.  
  1816.                There are 6 separate flag settings.  Five are similar to
  1817.                those for the keybinding flags and one is unique.  These are
  1818.                described in Section 10.2.
  1819.  
  1820.           Cancel Changes
  1821.  
  1822.                All changes are made to a copy of the data which is not
  1823.                incorporated until <ESC> is entered to exit from this menu.
  1824.                If the Cancel Changes option is used, any changes made to the
  1825.                override command are ignored.
  1826.  
  1827.     If you wish to bypass the override function within ToolBOX when entering
  1828.     keyboard commands, then enter the name in mixed case.
  1829.  
  1830.  
  1831. 10.2 Override Flags
  1832.  
  1833.     The flags are similar to those used for the keybindings.  In fact five
  1834.     settings are identical.  Refer to Section 9.2 for a detailed description
  1835.     of the settings for:
  1836.  
  1837.  
  1838.           Switch to DOS window
  1839.  
  1840.                Controls transitions between DOS and ToolBOX screens; both
  1841.                before and after executing the overridden command.
  1842.  
  1843.           Tell DOS of lines
  1844.  
  1845.                Inform DOS of whether it must restrict itself to 25 lines for
  1846.                split screen usage.
  1847.  
  1848.           Display data
  1849.  
  1850.                Optimizes data updates for ToolBOX directory display follow-
  1851.                ing the over-ridden command.
  1852.  
  1853.  
  1854.  
  1855. TBOXCFG User Manual                                                  Page 34
  1856. ____________________________________________________________________________
  1857.  
  1858.  
  1859.           Pause on completion
  1860.  
  1861.                Indicates whether a pause should occur following the command
  1862.                before reverting to the ToolBOX directory display.
  1863.  
  1864.           On-error
  1865.  
  1866.                Specifies what should be done when the override command
  1867.                returns a non-zero errorlevel value.
  1868.  
  1869.  
  1870.     The keybinding flags for Subdirectory, Embeddable, and Skip-to-cursor
  1871.     are not applicable for command overrides.
  1872.  
  1873.     The one new flag setting for command overrides relates to the handling
  1874.     of memory for the over-ridden program.  This is not necessary for the
  1875.     keybindings as the "@" prefix to request the swap can be placed on the
  1876.     individual command lines in the command set.  The swap setting controls
  1877.     whether or not the swap is made, but not where.  The TBOX -M command
  1878.     line argument determines if swap operations use disk or EMS for storage,
  1879.     and the default setting that determines if all external programs are
  1880.     swapped or not.
  1881.  
  1882.           sWap out ToolBOX
  1883.  
  1884.               Use swap default
  1885.  
  1886.                     Essentially indicates that no action be taken.  The
  1887.                     default established by the -M command line argument
  1888.                     should apply for this command as for any command,
  1889.                     whether from a keyboard command or a keybinding command
  1890.                     set.
  1891.  
  1892.                Never swap
  1893.  
  1894.                     Overrides the -M command line argument to inhibit the
  1895.                     swap operation when the override command is executed.
  1896.  
  1897.                Always swap
  1898.  
  1899.                     Essentially inserts the "@" prefix in front of the
  1900.                     over-ridden command to ensure that it is swapped.
  1901.  
  1902.  
  1903.  
  1904. 10.3 Factory Default Command Overrides
  1905.  
  1906.     The default configuration contains command overrides for two types of
  1907.     common commands, for DOS and for Binary Toolshed Utilities.
  1908.  
  1909.     The overrides for the DOS commands serve two functions.  For commands
  1910.     such as type, or chkdsk which generate output for the screen, the over-
  1911.     ride is used to ensure a pause occurs after the command is executed and
  1912.     before reverting to the directory display.  For other commands such as
  1913.     cls, the override tells DOS to not bother re-reading the directory.  DOS
  1914.  
  1915. TBOXCFG User Manual                                                  Page 35
  1916. ____________________________________________________________________________
  1917.  
  1918.  
  1919.     commands such as copy and diskcopy command are not included in the
  1920.     default override settings, although these can easily be added to ensure
  1921.     ToolBOX pauses after the commands issue their results.
  1922.  
  1923.     The overrides for the Binary Toolshed Utilities take advantage of the
  1924.     known characteristics of these programs.  For the utilities that
  1925.     generate output (dirs, drives, onpath, and wi), the flags are set to
  1926.     ensure a pause occurs.  The full screen utilities (tree, and view) are
  1927.     configured to take advantage of the ToolBOX screen settings.  All
  1928.     utilities are configured to use the BTS errorlevel value.
  1929.  
  1930.     The override list can easily be extended to incorporate all of the
  1931.     programs used within your environment.  Pause settings, screen transit-
  1932.     ions, directory updates, memory utilization, and so on can all be
  1933.     optimized for your most commonly used programs.
  1934.  
  1935.  
  1936.  
  1937. TBOXCFG User Manual                                                  Page 36
  1938. ____________________________________________________________________________
  1939.  
  1940.  
  1941. 11.0 Configure Option : Quick Lines
  1942.  
  1943.     Quicklines are an alternative method for executing command lines,
  1944.     whether DOS or intrinsics.  Unlike keybindings, quicklines:
  1945.  
  1946.           o contain one and only one command line.
  1947.  
  1948.           o have no associated flag settings or match strings.
  1949.  
  1950.           o are executed once only and are independent of any selected
  1951.             files.
  1952.  
  1953.           o can be configured from the ToolBOX program as well as through
  1954.             the TBOXCFG program.
  1955.  
  1956.           o are executed within the ToolBOX program from the popup menu or
  1957.             through a two character sequence consisting of the quick command
  1958.             introducer character (nominally ') and a unique single character
  1959.             label.
  1960.  
  1961.  
  1962.     The configuration for quick commands is similar to the override command.
  1963.     When selected from the Configure Menu, a list of the existing quick
  1964.     commands is presented.  Each entry consists of the alphabetic label and
  1965.     the quickline itself.  Cursor to the desired entry and enter <RETURN>.
  1966.  
  1967.     This brings up a menu to select an update option:
  1968.  
  1969.           Edit
  1970.  
  1971.                Initiate changes to the existing settings for the quick
  1972.                command.
  1973.  
  1974.  
  1975.           Insert
  1976.  
  1977.                Add a new entry before the current quickline.  There is no
  1978.                significance to the order of the entries.  If two accident-
  1979.                ally have the same label, only the first has any effect.
  1980.  
  1981.  
  1982.           Delete
  1983.  
  1984.                Deletes the current quickline command.  There is no paste
  1985.                option provided for quicklines.
  1986.  
  1987.  
  1988.     With the Edit and Insert options, an additional two line text entry
  1989.     window is generated for the update itself.  The two lines are for the
  1990.     quicklabel and the quickline respectively.
  1991.  
  1992.     Anything after the first character of the label line is ignored.  The
  1993.     label can be any alphanumeric character.  Case is significant.
  1994.  
  1995.     The quickline can contain any DOS or intrinsic command that is valid for
  1996.  
  1997. TBOXCFG User Manual                                                  Page 37
  1998. ____________________________________________________________________________
  1999.  
  2000.  
  2001.     the keyboard command line or a key binding.  The same rules apply for
  2002.     command line variables except that the variables reference the file at
  2003.     the cursor position rather than selected files.  Quicklines will be
  2004.     processed once and once only - not once for for each selected file as
  2005.     would occur for keybindings.  Quick commands defined through the TBOXCFG
  2006.     program are identical and indistinguishable from those added dynamically
  2007.     with the ToolBOX program.
  2008.  
  2009.     There is a 500 character limit for all quick lines.
  2010.  
  2011.     There are no factory default quick commands defined.
  2012.  
  2013.  
  2014.  
  2015.  
  2016. TBOXCFG User Manual                                                  Page 38
  2017. ____________________________________________________________________________
  2018.  
  2019.  
  2020. 12.0 Configure Option : Default-DOS-Command
  2021.  
  2022.     The default-DOS-command is the command line invoked when the "t*x f"
  2023.     (see Section 9.3.6) command is unable to locate an applicable file to
  2024.     execute.
  2025.  
  2026.     Within ToolBOX, "t*x f" is used for the deferred batch file facility.
  2027.     The command line is used when the batch filename composed from the
  2028.     extension of the selected file cannot be found.  The factory default
  2029.     default-DOS-command is to use view to display the selected file, that is
  2030.  
  2031.                     view f
  2032.  
  2033.     This can be altered to use any other display program or viewer.
  2034.  
  2035.  
  2036.     Selecting this option from the Configure menu produces a sub-menu with
  2037.     choices for either the command line or flag settings.
  2038.  
  2039.     Selecting the Command option produces a text entry window.  Enter the
  2040.     single line default command containing up to 68 characters.
  2041.  
  2042.     The Flags option introduces the same five settings that are used for the
  2043.     key bindings.  Refer to Section 9.2 for a detailed description of the
  2044.     flag setting options for:
  2045.  
  2046.           Switch to DOS window
  2047.  
  2048.           Tell DOS of video lines
  2049.  
  2050.           Display data
  2051.  
  2052.           Pause on completion
  2053.  
  2054.           On-error
  2055.  
  2056.  
  2057.  
  2058.  
  2059. TBOXCFG User Manual                                                  Page 39
  2060. ____________________________________________________________________________
  2061.  
  2062.  
  2063. 13.0 Configure Option : ToolBOX Banner
  2064.  
  2065.     Normally the text in the upper left corner of the ToolBOX display shows
  2066.     the "The Binary Toolshed".  This is the ToolBOX banner that can be
  2067.     changed to any desired string.
  2068.  
  2069.     Selecting this option from the Configure menu produces a text entry
  2070.     window.  Enter any string of up to 32 characters.
  2071.  
  2072.  
  2073.  
  2074.  
  2075. TBOXCFG User Manual                                                  Page 40
  2076. ____________________________________________________________________________
  2077.  
  2078.  
  2079. APPENDIX A : TBOXCFG COMMAND LINE ARGUMENTS
  2080.  
  2081.  
  2082.  
  2083.  
  2084.      TBOXCFG  [d:][path]cfgname[.cfg]
  2085.              -V [b m s c e v] [25 43 50] -C[m c g]
  2086.              -X [a#] [fF]
  2087.  
  2088.  
  2089.       where :
  2090.  
  2091.  
  2092.            [d:][path]cfgname[.cfg]
  2093.                               configuration file to be edited
  2094.  
  2095.  
  2096.           -Video[bIOS|mONOCHROME|sNOW|cGA|eGA|vGA] [25LINES|43LINES|50LINES]
  2097.  
  2098.           -Color[mONOCHROME|cOLOR|gRAYSCALE]
  2099.  
  2100.           -eXecute
  2101.                a#      permitted audio tones for different errors:
  2102.                        1 (border) + 2 (syntax) + 4 (execution)
  2103.                f / F   enable Flashing color
  2104.  
  2105.  
  2106.                NOTE :
  2107.  
  2108.                     o all fields are optional
  2109.  
  2110.                     o default is
  2111.  
  2112.                          -v25 -Xa7f
  2113.  
  2114.  
  2115.  
  2116. TBOXCFG User Manual                                                  Page 41
  2117. ____________________________________________________________________________
  2118.  
  2119.  
  2120. APPENDIX B : INTRINSIC COMMAND SUMMARY
  2121.  
  2122.  
  2123. INTRINSIC COMMANDS
  2124. ──────────────────
  2125.  
  2126.  
  2127.  
  2128.           Update directory display.
  2129.  
  2130.                dir [d:][path][matchlist] [/s[ + - ! ]#] [/f[ + - ! ]#]
  2131.  
  2132.           Change directory.
  2133.  
  2134.                [cd] [d:][path]
  2135.  
  2136.           Delete selected files.
  2137.  
  2138.                del [d:][path]matchlist
  2139.  
  2140.           Delete selected directories and contents.
  2141.  
  2142.                killdir [d:]path
  2143.  
  2144.           Select files.
  2145.  
  2146.                sel [ @ + - ] matchlist
  2147.  
  2148.           Switch to the DOS window.
  2149.  
  2150.                tbx d
  2151.  
  2152.           Initiate Help  (1=basic help, 2=extended command set).
  2153.  
  2154.                tbx h #
  2155.  
  2156.           Toggle current PAUSE status.
  2157.  
  2158.                tbx p
  2159.  
  2160.           Set number of screen lines (25, 43, or 50 - otherwise the
  2161.           DOS setting).
  2162.  
  2163.                tbx r ##
  2164.  
  2165.           Toggle current DIRECTION status.
  2166.  
  2167.                tbx t
  2168.  
  2169.           Toggle between ToolBOX SELECT and DIRECTORY state.
  2170.  
  2171.                tbx w
  2172.  
  2173.  
  2174. TBOXCFG User Manual                                                  Page 42
  2175. ____________________________________________________________________________
  2176.  
  2177.  
  2178.           Change directories to the next entry in the directory
  2179.           stack.
  2180.  
  2181.                tbx N
  2182.  
  2183.           Change directories to the previous entry in the
  2184.           directory stack.
  2185.  
  2186.                tbx P
  2187.  
  2188.           Conditional exit (Use verification window).
  2189.  
  2190.                tbx x
  2191.  
  2192.           Unconditional exit.
  2193.  
  2194.                tbx X
  2195.  
  2196.           Invoke program if locatable, else use default command
  2197.           line.
  2198.  
  2199.                t*x f progname.ext [param1] [param2] . . .
  2200.  
  2201.           Start the keyboard command with newest command stack
  2202.           entry.
  2203.  
  2204.                t*x l
  2205.  
  2206.           Start keyboard command with text provided.
  2207.  
  2208.                t*x p [command-line-text]
  2209.  
  2210.           Toggle DOS split screen.
  2211.  
  2212.                t*x s
  2213.  
  2214.           Initiate the popup menu window.
  2215.  
  2216.                t*x w
  2217.  
  2218.           Invoke program if locatable, else sound(error).
  2219.  
  2220.                t*x x progname.ext [param1] [param2] . . .
  2221.  
  2222.           Assign current directory to quick command, get label x from
  2223.           keyboard.
  2224.  
  2225.                t*x C
  2226.  
  2227.           Delete quick command, get x from keyboard.
  2228.  
  2229.                t*x D
  2230.  
  2231.  
  2232. TBOXCFG User Manual                                                  Page 43
  2233. ____________________________________________________________________________
  2234.  
  2235.  
  2236.           Add the current keyboard command line as quick command,
  2237.           get x from the keyboard.
  2238.  
  2239.                t*x K
  2240.  
  2241.           Execute quick command, get x from keyboard.
  2242.  
  2243.                t*x X
  2244.  
  2245.  
  2246. TBOXCFG User Manual                                                  Page 44
  2247. ____________________________________________________________________________
  2248.  
  2249.  
  2250. APPENDIX C : SORT FORMAT SPECIFICATION
  2251.  
  2252.  
  2253.                d  date
  2254.                n  name
  2255.                x  extension
  2256.                s  size
  2257.  
  2258.  
  2259. TBOXCFG User Manual                                                  Page 45
  2260. ____________________________________________________________________________
  2261.  
  2262.  
  2263. APPENDIX D : DISPLAY FORMAT SPECIFICATION
  2264.  
  2265.  
  2266.                D  ddMmmyy date string
  2267.                t  hh:mm time string
  2268.                d  2 char day xx
  2269.                m  2 char month
  2270.                y  2 char year
  2271.                M  3 char Month
  2272.  
  2273.                n  8 character name
  2274.                C  8 character byte count "  <DIR> " if a directory
  2275.                c  8 character byte count "        " if a directory
  2276.                x  3 character extension
  2277.  
  2278.                \\ status " " or "\" if a directory
  2279.                /  status in decreasing priority "s", "h", "r", "\"
  2280.  
  2281.                S  "" if file selected, else " "
  2282.  
  2283.                "literal strings"   preserved as given
  2284.  
  2285.  
  2286.  
  2287.  
  2288. TBOXCFG User Manual                                                  Page 46
  2289. ____________________________________________________________________________
  2290.  
  2291.  
  2292. APPENDIX E : COMMAND LINE VARIABLES
  2293.  
  2294.  
  2295.     Basic file oriented variables:
  2296.  
  2297.           <CTRL d>       display drive
  2298.  
  2299.           <CTRL p>       display path
  2300.  
  2301.           <CTRL n>       8 character file name
  2302.  
  2303.           <CTRL x>       3 character extension
  2304.  
  2305.           <CTRL D>       current drive letter
  2306.  
  2307.           <CTRL P>       current path
  2308.  
  2309.           <CTRL f>       minimized filename
  2310.  
  2311.  
  2312.     Additional variables (as displayed):
  2313.  
  2314.           [ + - ! ]d    biased display drive
  2315.  
  2316.           c             last character from keyboard
  2317.  
  2318.                        single literal  character
  2319.  
  2320.  
  2321.     Edit Control Instructions
  2322.  
  2323.  
  2324.           <c>            set cursor position
  2325.  
  2326.           <i>            set insert mode
  2327.  
  2328.           <o>            set overstrike mode
  2329.  
  2330.           <m>            mark start (or end) of default-text region
  2331.  
  2332.  
  2333.  
  2334.